package ai.peanut.cloudonea.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class OrderController {

    @GetMapping("/order/{id}")
    public Map findOrderById(@PathVariable Long id) {
       Map a = new HashMap() ;
       a.put("a","b") ;
       return a;
    }
}
